/* 处理最大宽度 */

const handleMax = function handleMax() {
    let html = document.documentElement, root = document.getElementById('root'), deviceW = html.clientWidth;
    root.style.maxWidth = '750px ';
    if (deviceW >= 750) {
        html.style.fontSize = '75px';
    }
};
(function () {
    handleMax();
    window.addEventListener(' resize', handleMax);
})();